package com.example.yuejian23.yuejian_23.service;

import com.example.yuejian23.yuejian_23.javaBean.PeixunBean;
import com.example.yuejian23.yuejian_23.javaBean.PingjiaBean;
import com.example.yuejian23.yuejian_23.javaBean.PinglunBean;
import com.example.yuejian23.yuejian_23.javaBean.ShaituBean;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by dong on 2017/10/19.
 */

public interface ShaituService {
    @GET("Post/postlist")
    Call<List<ShaituBean>> getList();

    @GET("Post/postsimp")
    Call<PinglunBean> getxiang(
            @Query("pid") String pid
    );

    @GET("Post/rpost")
    Call<PingjiaBean> ping(
            @Query("uid") String uid,
            @Query("pid") String pid,
            @Query("rptext") String rptext
    );
}
